package com.flx.at.spring.code.aop.calculate;

/**
 * @Author Fenglixiong
 * @Create 2021/11/3 21:44
 * @Description
 **/
public class Calculator implements Calculate{

    @Override
    public int add(int a, int b) {
        System.out.println("执行add方法...");
        return a+b;
    }

    @Override
    public int sub(int a, int b) {
        return a-b;
    }

    @Override
    public int multi(int a, int b) {
        return a*b;
    }

    @Override
    public int div(int a, int b) {
        return a/b;
    }
}
